<!--
 * @Description: 
 * @Author: zwx
 * @Date: 2024-11-05 15:02:24
 * @LastEditors: zwx
 * @LastEditTime: 2024-11-05 15:41:11
 * @又活了一天: 你真厉害！！！
-->
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>布局</title>
    <style>
        div{
        font-size: 20px;
        /* 当前div中 lem = 20px */
        /* 当前div中 lem = 40px */
        /* 当前div中 lem = 16px */
        width: 200px;
        height: 200px;
        border: 1px solid red;
        /* display: inline-block; */
        }
        #div1,#div2{
            float:left;
        }
        #div3{
            float:right;
        }
    </style>
</head>
<body>
    <div id="div1">div1</div>
    <div id="div2">div2</div>
    <div id="div3"><a href="">已注册，点击此处登录</a></div>
</body>
</html>